package edu.zut.process;

public class Demo7 {

    public static void main(String[] args) {

        //fori   for循环快捷书写
        //for嵌套循环：外层每执行一次，内层会全部执行
        for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 4; j++) {
                System.out.print("i = " + i + ", j = " + j);
                System.out.println();
            }
        }

        /**
         * for一般建议3层以下
         */
    }

}
